package com.geeke.wf.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.camunda.bpm.engine.rest.dto.history.HistoricTaskInstanceQueryDto;

import com.geeke.wf.entity.HistTask;

@Mapper
public interface HistTaskDao {

    public List<HistTask> queryHistoricTaskInstances(@Param("queryDto")HistoricTaskInstanceQueryDto queryDto, @Param("offset")int firstResult, @Param("limit")int maxResults);

    public long queryHistoricTaskInstancesCount(@Param("queryDto")HistoricTaskInstanceQueryDto queryDto);
}
